printing: Be more careful when deserializing
authorMatthias Clasen <mclasen@redhat.com>
Fri, 20 Apr 2018 20:56:28 +0000 (16:56 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Fri, 20 Apr 2018 20:58:36 +0000 (16:58 -0400)
commit6f4a77bb3c8a49413af01b532c07085db1960010
tree19772d741a9e9c958627825bc6c01fa3a11325ca
parent06a1477f80bdb637e4c43460ccafc543cc0f304a
printing: Be more careful when deserializing

The GVariant we are getting here might not be coming
from GTK+, but rather from some other source. Best to
be forgiving and deal with missing data without crashing.

This was causing the GTK+ portal backends to crash on
print requests from Qt.
gtk/gtkpagesetup.c